package com.itheima.service;

import com.itheima.annotation.OpLog;
import com.itheima.domain.pojo.Dept;
import org.springframework.stereotype.Service;

import java.util.List;


public interface DeptService {

    List<Dept> findAll();


    void deleteById(Integer id);


    void insertDept(Dept dept);

    Dept getById(Integer id);


    void upadteDept(Dept dept);
}
